Skip to content

Conversation

earlephilhower
Copy link
Collaborator

To simplify BearSSL debugging, print the received FP (when it doesn't
match the expected) and the binary certificate (always), when in debug
mode.

To simplify BearSSL debugging, print the received FP (when it doesn't
match the expected) and the binary certificate (always), when in debug
mode.
Per review, clean up and comment.
@earlephilhower
Copy link
Collaborator Author

Ah, crap. strncat is one of those funny functions that I remember MSFT warning us about. The n there is the max # of elements of the src, not the total length. Let me update PR with strlcat which does what a sane person would want it to do...

@earlephilhower earlephilhower merged commit c18b402 into esp8266:master Jul 14, 2019
@earlephilhower earlephilhower deleted the dumpcertfp branch July 14, 2019 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants